From b4f745115f48e54ca0193dcb08101ab50e929d5e Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 17 Apr 2014 16:13:48 +0200 Subject: [PATCH] tools/libxl: remove XEN_RUN_DIR from install target xencommons creates the _hardcoded_ /var/run/xen already, there is no need to create and package this directory during make install|rpmball. Without this change installing the resulting xen.rpm will fail on systems where /var/run is a symlink. rpm complains that '/var/run' (the symlink) is already owned by some other system rpm package. Using XEN_RUN_DIR instead of /var/run/xen tree-wide may be done in a followup patch. Signed-off-by: Olaf Hering Acked-by: Ian Campbell --- tools/libxl/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile index 755b6665bf..4cfa27578f 100644 --- a/tools/libxl/Makefile +++ b/tools/libxl/Makefile @@ -230,7 +230,6 @@ install: all $(INSTALL_DIR) $(DESTDIR)$(LIBDIR) $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR) $(INSTALL_DIR) $(DESTDIR)$(BASH_COMPLETION_DIR) - $(INSTALL_DIR) $(DESTDIR)$(XEN_RUN_DIR) $(INSTALL_DIR) $(DESTDIR)$(PRIVATE_BINDIR) $(INSTALL_PROG) xl $(DESTDIR)$(SBINDIR) $(INSTALL_PROG) libxl-save-helper $(DESTDIR)$(PRIVATE_BINDIR) -- 2.30.2